// 加载路由
const wordRoutes = require('./routes/word');
const userRoutes = require('./routes/user');

// 注册路由
app.use('/', wordRoutes);
app.use('/', userRoutes); // 添加用户路由 